package com.dingpeikeji.quickdeer.modules.messages.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dingpeikeji.quickdeer.core.common.persistence.Page;
import com.dingpeikeji.quickdeer.core.common.service.CrudService;
import com.dingpeikeji.quickdeer.modules.messages.entity.TmpMessages;
import com.dingpeikeji.quickdeer.modules.messages.dao.TmpMessagesDao;

/**
 * 手工发送短信Service
 * @author 123
 * @version 2017-05-23
 */
@Service
@Transactional(readOnly = true)
public class TmpMessagesService extends CrudService<TmpMessagesDao, TmpMessages> {

	public TmpMessages get(String id) {
		return super.get(id);
	}
	
	public List<TmpMessages> findList(TmpMessages tmpMessages) {
		return super.findList(tmpMessages);
	}
	
	public Page<TmpMessages> findPage(Page<TmpMessages> page, TmpMessages tmpMessages) {
		return super.findPage(page, tmpMessages);
	}
	
	@Transactional(readOnly = false)
	public void save(TmpMessages tmpMessages) {
		super.save(tmpMessages);
	}
	
	@Transactional(readOnly = false)
	public void delete(TmpMessages tmpMessages) {
		super.delete(tmpMessages);
	}
	
}